<?php
namespace app\index\model;
use app\common\model\Base;

class TouzhuListZh extends Base
{
    //将新追号投注插入追号列表
    public function setBetInfoZh($czid,$qihao,$tzhm,$tzje,$dzje,$tzzs,$username,$tzhje,$zjje,$ifqs,$wfid,$dqpl,$xzfd,$fdje,$kjjg,$zjzs,$nbzh,$tz_time,$method=1) {
        $res = TouzhuListZh::name('touzhu_list_zh')
        ->bind(['czid'=>$czid,'qihao'=>$qihao,'tzhm'=>$tzhm,'tzje'=>$tzje,'dzje'=>$dzje,'tzzs'=>$tzzs,'username'=>$username,'tzhje'=>$tzhje,'zjje'=>$zjje,'ifqs'=>$ifqs,'wfid'=>$wfid,'dqpl'=>$dqpl,'xzfd'=>$xzfd,'fdje'=>$fdje,'kjjg'=>$kjjg,'zjzs'=>$zjzs,'nbzh'=>$nbzh,'tz_time'=>$tz_time,'method'=>$method])
        ->insert(['czid'=>':czid','qihao'=>':qihao','tzhm'=>':tzhm','tzje'=>':tzje','dzje'=>':dzje','tzzs'=>':tzzs','username'=>':username','tzhje'=>':tzhje','zjje'=>':zjje','ifqs'=>':ifqs','wfid'=>':wfid','dqpl'=>':dqpl','xzfd'=>':xzfd','fdje'=>':fdje','kjjg'=>':kjjg','zjzs'=>':zjzs','nbzh'=>':nbzh','tz_time'=>':tz_time','method'=>':method']);
        return $res;
    }
    
}